<template lang="pug">
  van-radio-group(@change="change" :value="value" @input="$emit('input',$event)" :disabled="readonly")
    van-radio(v-for="item in options" :name="item.value" :checked-color="config.checkedColor") {{item.label}}
</template>
<script>
export default {
  name: 'radioRender',
  components: {},
  props: ['config', 'editor', 'value', 'readonly', 'options'],
  methods: {
    change(value) {
      this.$emit('change',{value:value,device:"APP"})
    }
  }
}
</script>
<style lang="scss">
</style>
